]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
iconGrid: Export zoomOutActor()
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 25 Aug 2023 13:23:35 +0000 (15:23 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 25 Aug 2023 16:21:03 +0000 (16:21 +0000)
It's used in the search view when launching a search in the
corresponding app.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6942

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2911>

js/ui/iconGrid.js

index 1b962358d531d2b23480bfc305c43185fd048643..e7bb62fb9b69741fbe4812b36bd57ae4195b519c 100644 (file)
@@ -178,7 +178,7 @@ class BaseIcon extends Shell.SquareBin {
 /**
  * @param {Clutter.Actor} actor
  */
-function zoomOutActor(actor) {
+export function zoomOutActor(actor) {
     let [x, y] = actor.get_transformed_position();
     zoomOutActorAtPos(actor, x, y);
 }